package controller;

import java.util.LinkedHashMap;
import java.util.Map;

public class LinkData {
    private static final Map<String, String> links = new LinkedHashMap<>();

    private static final Map<String, String> adminLinks = new LinkedHashMap<>();

    static {
        links.put("Main",      "/WEB-INF/main.jsp");
        links.put("Menu",      "/WEB-INF/menu.jsp");
        links.put("Locations", "/WEB-INF/locations.jsp");
        links.put("Contact",   "/WEB-INF/contact.jsp");
        links.put("About",     "/WEB-INF/about.jsp");

        adminLinks.put("Edit Menu",      "/WEB-INF/menu_edit.jsp");
        adminLinks.put("Edit Locations", "/WEB-INF/locations_edit.jsp");
    }

    public static Map<String, String> getLinkMap() {
        return links;
    }

    public static Map<String, String> getAdminLinkMap() {
        return adminLinks;
    }
}
